#include <iostream>
#include <cmath>
using namespace std;
int main ()
{
    int n;
    int aux;
    cin>>n;
    aux=0;
    while(n>aux)
{
    cout<<pow(2,aux)<<endl;
    aux=aux+1;
}
    return 1;
}
